//
//  AppDataManager.h
//  LoveCar
//
//  Created by zhanshu on 14/11/20.
//  Copyright (c) 2014年 zhanshu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface AppDataManager : NSObject
//创建并存储信息
+(BOOL)saveRecordOfLocationMess:(NSString*)address city:(NSString*)city lat:(long)lat log:(long)log;
#pragma mark- 保存周边的搜索信息
+(BOOL)saveNearSearchMess:(NSString *)searchString user:(NSString*)user;
#pragma mark-  保存拍卖的搜索记录
+(BOOL)saveSaleSearchMess:(NSString*)searchString;

//保存周边搜索结果
+(BOOL)saveNearMerchantMess:(NSString*)searchString type:(int)type;


//+(BOOL)cancleMessByIDwithSql:(int )ID;//删除指定条的消息
//+(BOOL)removeAllTheValue:(int)type;//删除所有的系统消息
+(NSMutableArray*)getLocationMessRecordBySQLName:(NSString*)name;//获取定位的数据
+(BOOL)deleateAllMessBySQLName:(NSString*)name;//删除所有的数据
+(BOOL)deleateMessByAddressName:(NSString*)address BySQLName:(NSString*)name;//根据地址名称删除信息
//+(BOOL)updataState:(int)type;//更新状态
//+(BOOL)updataStateByID:(int )ID;
//+(NSInteger)selectState;
@end
